home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-04 / vol11n06.zip / DEMO5 < prev    next >
Text File  |  1992-01-20  |  618b  |  25 lines

  1. # Update the resource if necessary
  2.  
  3. demo5.res: demo5.rc demo5.h
  4.     rc -r demo5.rc
  5.  
  6. # Update the object file if necessary
  7.  
  8. demo5.obj: demo5.c demo5.h
  9.     cl -Zi -c -AS -Gsw -Oas -Zpe demo5.c
  10.  
  11. # Update the executable file if necessary, and if so, add the resource back in.
  12.  
  13. demo5.exe: demo5.obj demo5.def
  14.     link /CODEVIEW /NOD demo5,,, penwin libw slibcew, demo5.def
  15.     rc demo5.res
  16.  
  17. # If the .res file is new and the .exe file is not, update the resource.
  18. # Note that the .rc file can be updated without having to either 
  19. # compile or link the file.
  20.  
  21. demo5.exe: demo5.res
  22.     rc demo5.res
  23.  
  24.  
  25.